package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;
import java.util.List;

/**
 * 会员权益对象 sys_member_rai
 * 
 * @author ruoyi
 * @date 2025-04-21
 */
@ApiModel(description = "会员权益对象")
public class SysMemberRai extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 权益名称 */
    @Excel(name = "权益名称")
    @ApiModelProperty(value = "权益名称",required = true)
    private String raiName;

    /** 间隔天数 */
    @Excel(name = "间隔天数")
    @ApiModelProperty(value = "间隔天数",required = true)
    private String intervalNum;

    /** 权益数量 */
    @Excel(name = "权益数量")
    @ApiModelProperty(value = "权益数量",required = true)
    private String raiNum;

    /** 权益可领取数量 */
    @Excel(name = "权益可领取数量")
    @ApiModelProperty(value = "权益可领取数量",required = true)
    private String raiAvailableNum;

    /** 权益状态 */
    @Excel(name = "权益状态")
    @ApiModelProperty(value = "权益状态",required = true)
    private String raiStatus;

    /** 权益商品ids */
    @Excel(name = "权益商品ids")
    @ApiModelProperty(value = "权益商品ids",required = true)
    private List<String> raiGoods;

    /** 排序 */
    @Excel(name = "排序")
    @ApiModelProperty(value = "排序",required = true)
    private String sort;

    /** 是否删除 */
    @Excel(name = "是否删除")
    @ApiModelProperty(value = "是否删除")
    private String status;

    /** 上架时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "上架时间",required = true)
    private Date listingTime;

    private String getStatus;

    /** 结束领取时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束领取时间",required = true)
    private Date endCollectionTime;

    private String updateByName;

   private String RaiGoodsParam;

   private String phonenumber;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setRaiName(String raiName) 
    {
        this.raiName = raiName;
    }

    public String getRaiName() 
    {
        return raiName;
    }

    public void setIntervalNum(String intervalNum) 
    {
        this.intervalNum = intervalNum;
    }

    public String getIntervalNum() 
    {
        return intervalNum;
    }

    public void setRaiNum(String raiNum) 
    {
        this.raiNum = raiNum;
    }

    public String getRaiNum() 
    {
        return raiNum;
    }

    public void setRaiAvailableNum(String raiAvailableNum) 
    {
        this.raiAvailableNum = raiAvailableNum;
    }

    public String getRaiAvailableNum() 
    {
        return raiAvailableNum;
    }

    public void setRaiStatus(String raiStatus) 
    {
        this.raiStatus = raiStatus;
    }

    public String getRaiStatus() 
    {
        return raiStatus;
    }

    public void setSort(String sort) 
    {
        this.sort = sort;
    }

    public String getSort() 
    {
        return sort;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public Date getListingTime() {
        return listingTime;
    }

    public void setListingTime(Date listingTime) {
        this.listingTime = listingTime;
    }

    public Date getEndCollectionTime() {
        return endCollectionTime;
    }

    public void setEndCollectionTime(Date endCollectionTime) {
        this.endCollectionTime = endCollectionTime;
    }

    public List<String> getRaiGoods() {
        return raiGoods;
    }

    public void setRaiGoods(List<String> raiGoods) {
        this.raiGoods = raiGoods;
    }

    public String getRaiGoodsParam() {
        return RaiGoodsParam;
    }

    public void setRaiGoodsParam(String raiGoodsParam) {
        RaiGoodsParam = raiGoodsParam;
    }

    public String getUpdateByName() {
        return updateByName;
    }

    public void setUpdateByName(String updatedByName) {
        this.updateByName = updatedByName;
    }

    public String getGetStatus() {
        return getStatus;
    }

    public void setGetStatus(String getStatus) {
        this.getStatus = getStatus;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("raiName", getRaiName())
            .append("intervalNum", getIntervalNum())
            .append("raiNum", getRaiNum())
            .append("raiAvailableNum", getRaiAvailableNum())
            .append("raiStatus", getRaiStatus())
            .append("sort", getSort())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .toString();
    }
}
